Included Digital ICs

Back to Component List

This document contains a list of all of the logic gates included in the simulator. The pinout and digital behaviour of these devices are designed to replicate the original devices as closely as possible, so you can refer to the original manufacturers' datasheets for further information.

Basic Logic Gates

The following basic logic gates are included:

All of the devices containing four logic gates have the same pin functions:

PinFunctionPinFunction
1Gate A Input 114Positive Supply
2Gate A Input 213Gate D Input 1
3Gate A Output12Gate D Input 2
4Gate B Output11Gate D Output
5Gate B Input 210Gate C Output
6Gate B Input 19Gate C Input 2
7Ground8Gate C Input 1

The 4069, which contains 6 NOT gates, has a different set of pin functions:

PinFunctionPinFunction
1Gate A Input14Positive Supply
2Gate A Output13Gate F Input
3Gate B Input12Gate F Output
4Gate B Output11Gate E Input
5Gate C Input10Gate E Output
6Gate C Output9Gate D Input
7Ground8Gate D Output

Sequential Devices

4013 D-type Flip Flop

The 4013 IC contains 2 D-type flip flops. Each flip flop has a total of four inputs: set, reset, data and clock; and two outputs: Q and /Q (often written as Q). The output Q is set to the internal state of the device, and /Q is Q inverted.

When the set pin is high, the internal state of the device is set to 1, and when the reset pin is high, the internal state of the device is set to 0. When the clock pin goes from low to high, the internal state of the device is set to the value of the data pin.

The pins of the 4013 are connected as follows:

PinFunctionPinFunction
1Gate A Output Q14Positive Supply
2Gate A Output /Q (Q)13Gate B Output Q
3Gate A Clock Input
(rising edge triggered)
12Gate B Output /Q (Q)
4Gate A Reset Input11Gate B Clock Input
(rising edge triggered)
5Gate A Data Input10Gate B Reset Input
6Gate A Set Input9Gate B Data Input
7Ground8Gate B Set Input

4017 Decade Counter

The 4017 IC is a decade counter: a counter that counts from 0 to 9 and then returns to 0. It has three inputs: Clock, Inhibit and Reset; 10 decoded counter outputs which represent the current value the counter is at; and a carry output for cascading counters.

The counter value increments every time the clock pin from low to high, provided the inhibit pin is low. When reset is high, the counter value is set to zero and the clock pin will have no effect.

The carry output is low while outputs 5-9 are high and high while outputs 0-4 are high, meaning that one transition occurs every time the counter counts from 0 to 9, so that multiple counters can be connected together.

PinFunctionPinFunction
1Output 516Positive Supply
2Output 115Reset
3Output 014Clock
4Output 213Inhibit
5Output 612Carry Out
6Output 711Output 9
7Output 310Output 4
8Ground9Output 8

4024 Binary Counter

The 4024 is a 7-bit binary ripple counter: it has 7 binary outputs. It has 2 inputs: clock and reset. When clock goes from high to low, the counter value increments by one, and when the reset input is high the value is set to zero.

PinFunctionPinFunction
1Clock14Positive Supply
2Reset13Not Connected
3Output 7 (64)12Output 1 (1)
4Output 6 (32)11Output 2 (2)
5Output 5 (16)10Not Connected
6Output 4 (8)9Output 3 (4)
7Ground8Not Connected

Miscellaneous

4511 Display Decoder

The 4511 takes a 4-bit BCD signal as an input (note that only input values 0-9 are valid) and outputs the signals needed to drive a 7-segment display. It also has three control inputs: Lamp Test, Blank and Latch.

When the Lamp Test input goes low, all segments are turned on for test purposes. When the Blank input goes low, all segments are turned off. When the Latch pin goes high, the current input value is stored and changes to the input value will not affect the display until Latch is set back to low again. For normal use, Lamp Test and Blank should be high, and Latch should be low.

PinFunctionPinFunction
1B Input (2)16Positive Supply
2C Input (4)15Segment f
3Lamp Test14Segment g
4Blank13Segment a
5Latch12Segment b
6D Input (8)11Segment c
7A Input (1)10Segment d
8Ground9Segment e

Back to Component List